/*-----------------------------------------------------------------------------------------------*/
	
	function AbductionBrowser() {
		
	}
	
	AbductionBrowser.options = function() {
		// Not needed anymore...
	}
	
	AbductionBrowser.capture = function(element) {
		var height = (window.screen.availHeight * 0.85);
		var width = (window.screen.availWidth * 0.85);
		
		window.openDialog("chrome://abduction/content/capture.xul", "abduction", "chrome,centerscreen,resizable,dialog=no,height=" + height + ",width=" + width, element);
	}
	
	AbductionBrowser.captureEntire = function() {
		AbductionBrowser.capture(content);
	}
	
	AbductionBrowser.captureFocused = function() {
		AbductionBrowser.capture(document.commandDispatcher.focusedWindow);
	}
	
/*-----------------------------------------------------------------------------------------------*/
	
	AbductionBrowser();
	
/*-----------------------------------------------------------------------------------------------*/
